package vn.personal.anhht.bloback12.activity;

import android.app.Activity;
import android.content.Intent;
import android.util.Log;
import android.widget.Toast;

public class BloBack12Activity extends Activity {
    
    protected void showToastLong(String msg){
    	Toast.makeText(getApplicationContext(), msg, Toast.LENGTH_LONG).show();
    }
    
    protected void showToastShort(String msg){
    	Toast.makeText(getApplicationContext(), msg, Toast.LENGTH_SHORT).show();
    }
    
    protected void startMyActivity(Class<? extends Activity> nextActivity){
    	Intent intent = new Intent(this, nextActivity);
    	startActivity(intent);
    }
    
    protected void logE(String tag, String msg){
        Log.e(tag, msg);
    }
    
}